//
//  ZToolControl.h
//  danpin
//
//  Created by chuangjia on 2/11/2015.
//  Copyright © 2015 chuangjia. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BottomToolBar.h"

typedef enum
{
    ZToolControlType_unknow,
    ZToolControlType_comment,
    ZToolControlType_commentlist,
    ZToolControlType_like,
    ZToolControlType_buy,
    ZToolControlType_haitao,
    
}ZToolControlType;
@interface ZToolControl : BottomToolBar
{
    
}
@property(nonatomic,strong) void(^actionBlock)(ZToolControlType,UIView *,id,id);
@property(nonatomic,assign)BOOL isLove;
@property(nonatomic,strong)NSString *buyTitle;
@property(nonatomic,strong)NSString *commentCount;
-(void)setCallBack:(void(^)(ZToolControlType,UIView*,id,id))callback;

- (void) EnableBuyButton:(BOOL) yesNo;
@end